using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN LopSinhVienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: LopSinhVienEntity</para>
	/// <para>Description: ClassLopSinhVienEntity store data of table LopSinhVien</para>
	///</summary>

	[DataContract]
	public partial class LopSinhVienEntity{


		private bool _InternalChangedIsNullLopSinhVien_ID=true;
		private bool _IsNullLopSinhVien_ID=true;
		private bool _InternalChangedIsNullLop_ID=true;
		private bool _IsNullLop_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullTrangThai=true;
		private bool _IsNullTrangThai=true;
		private int _LopSinhVien_ID;
		private int _Lop_ID;
		private int _SinhVien_ID;
		private Byte _TrangThai;
		[DataMember]
		public bool IsNullLopSinhVien_ID{
			get{return _IsNullLopSinhVien_ID;}
			set{if(!_InternalChangedIsNullLopSinhVien_ID)_IsNullLopSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullLop_ID{
			get{return _IsNullLop_ID;}
			set{if(!_InternalChangedIsNullLop_ID)_IsNullLop_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullTrangThai{
			get{return _IsNullTrangThai;}
			set{if(!_InternalChangedIsNullTrangThai)_IsNullTrangThai=value;}
		}
		[DataMember]
		public int LopSinhVien_ID{
			get{return _LopSinhVien_ID;}
			set{
				_LopSinhVien_ID=value;
				if(_LopSinhVien_ID!=null){
					_IsNullLopSinhVien_ID=false;
					_InternalChangedIsNullLopSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int Lop_ID{
			get{return _Lop_ID;}
			set{
				_Lop_ID=value;
				if(_Lop_ID!=null){
					_IsNullLop_ID=false;
					_InternalChangedIsNullLop_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public Byte TrangThai{
			get{return _TrangThai;}
			set{
				_TrangThai=value;
				if(_TrangThai!=null){
					_IsNullTrangThai=false;
					_InternalChangedIsNullTrangThai=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END LopSinhVienEntityBase*****************************************/
	/*****************************************************************************************************/
}

